#ifdef USEJNI
#include "BiquadIIR_JNI.h"
#include "util/JNIUtil.h"
using namespace yzrilyzr_dsp;
using namespace yzrilyzr_util;
JNIEXPORT jlong JNICALL Java_yzrilyzr_dsp_BiquadIIR_constructor(JNIEnv * env, jobject, jdoubleArray aCoeff, jdoubleArray bCoeff){
	DoubleArray * aC=jDoubleArray2DoubleWithLength(env, aCoeff);
	DoubleArray * bC=jDoubleArray2DoubleWithLength(env, bCoeff);
	BiquadIIR * ptr=new BiquadIIR(aC, bC);
	return reinterpret_cast<jlong>(ptr);
}
#endif